package com.danawa.mds.market.model;

public class Goods {
	private Long id;
	private Money price;
	private String name;

	Goods() {
	}
	
	public Goods(String name, Money price) {
		this.name = name;
		this.price = price;
	}

	public Goods(String name, long price) {
		this(name, new Money(price));
	}

	public Money getPrice() {
		return price;
	}

}
